@extends('layouts.app')

@section('content')
    <section class="content-header">
        <h1>
            广告设置
        </h1>
   </section>
   <div class="content">
       @include('adminlte-templates::common.errors')
       <div class="box box-primary">
           <div class="box-body">
               <div class="row">
                   {!! Form::model($configs, ['route' => ['configs.advertisingSettingStore'], 'method' => 'post','files'=>true]) !!}

                       <div class="form-group col-sm-12">
                           {!! Form::label('img', '图片:') !!}
                           {!! Form::file('img') !!}
                       </div>

                       <div class="form-group col-sm-6">
                           {!! Form::label('time', '时长:') !!}
                           {!! Form::number('time', null, ['class' => 'form-control']) !!}
                       </div>

                       <!-- Submit Field -->
                       <div class="form-group col-sm-12">
                           {!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
                       </div>

                       {!! Form::close() !!}
               </div>
           </div>
       </div>
   </div>
@endsection